<?php

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

class Dashboard_Model extends Model {

    public function __construct() {
        parent::__construct();
    }

    public function create_table() {
        $ctb = $this->db->prepare("
            CREATE TABLE IF NOT EXISTS `hasil` (
            `nrp` varchar (20) NOT NULL,        
            PRIMARY KEY (`nrp`)
            ) ENGINE=InnoDB  DEFAULT CHARSET=latin1
           ");
        $ctb->execute();
    }

}

?>
